<template>
	<view class="container">
		<!-- 侧边栏 -->
		<view class="side-box">
			<!-- 左侧 -->
			<ul class="left-list">
				<li><a href="#">就业政策</a></li>
			</ul>
			<!-- end -->
			<!-- 右侧 -->
			<view class="right-side-box">
				<ul class="right-list">
					<li><a href="#">政策1</a></li>
					<li><a href="#">政策2</a></li>
					<li><a href="#">政策3</a></li>
					<li><a href="#">政策4</a></li>
				</ul>
			</view>
			<!-- end -->
		</view>
		<!-- end -->
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},

		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
  /* 全局设置 */
page {
	height: 100%;
	width: 100%;
	overflow: hidden;
}

  /* 主容器 */
.container {
	display: flex;
	flex-direction: column;
	width: 100vw;
	height: 100vh;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

  /* 侧边栏容器 */
.side-box {
	display: flex;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

  /* 左侧菜单 */
.left-list {
	display: flex;
	flex-direction: column;
	width: 300rpx;
	height: 100%;
	margin: 0;
	padding: 0;
	background: #f5f5f5;
	list-style-type: none;
}

.left-list li {
	padding: 55rpx 0;
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

.left-list li a {
	writing-mode: vertical-rl;
	text-decoration: none;
	color: black;
	font-size: 90rpx;
	font-weight: 100;
}

   /* 右侧内容区 */
.right-side-box {
	flex: 1;
	height: 100%;
	overflow: hidden;
}
  
.right-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}
  
.right-list li {
    flex: 1; /* 每个li平均分配高度 */
    min-height: 150rpx; /* 最小高度保障 */
    border-top: 1rpx solid #ddd;
    box-shadow: inset 0 -12rpx 17rpx rgba(136, 136, 136, 0.1);
    display: flex;
    align-items: center;
    position: relative;
}
  
.right-list li:first-child {
    border-top: none; /* 移除第一个项目的上边框 */
}
  
.right-list li a {
    color: black;
    text-decoration: none;
    font-size: 70rpx;
    padding-left: 60rpx;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
</style>